Get the square root and exponential of a given decimal numberΒΆ

Get the square root and exponential of a given decimal number.
Decimal number:
1.44
Expected output:
Square root of 1.44 is: 1.2
Exponential of 1.44 is: 4.220695816996552825673328929
from decimal import *

x = Decimal('1.44')

print("Square root of" , x, "is :", x.sqrt())
print("Exponential of", x, "is :", x.exp())

Output:

Square root of 1.44 is : 1.2
Exponential of 1.44 is : 4.220695816996552825673328929